package com.ideapse.springcloud.mapper;

import com.ideapse.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author LuoJianWei
 * @email LuoJianWei_98@foxmail.com
 * @date 2024/4/27 13:22
 */
@Mapper
@Repository
public interface DeptMapper {

    boolean addDept(Dept dept);
    Dept queryById(Long id);
    List<Dept> queryAll();
}
